import { createApp } from 'vue'
import router from '@/router/index.js'

import App from './App.vue'
import vant from 'vant';
import { Icon } from 'vant';
import 'vant/lib/index.css';
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import './style.css'
import '@/styles/global.scss'
import 'amfe-flexible'
const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)


app.use(vant)
app.use(Icon)
app.use(pinia)
app.use(router)
app.mount('#app')
